import turtle

a = turtle.Pen()
a.circle(50)
a.circle(50,90)
a.forward(120)
a.circle(50)
a.circle(50,180)
a.forward(240)
a.circle(50)
a.circle(50,180)
a.forward(120)
a.circle(50)
a.circle(50,90)
a.forward(120)
a.circle(50)
a.circle(50,180)
a.forward(240)
a.circle(50)
a.circle(50,180)
a.forward(120)


turtle.mainloop()